package com.sh.healthtv.ui;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.view.View;

import com.sh.healthtv.R;

/**
 * Created by zhouyucheng on 2017/8/4.
 */

public class TestActivity extends Activity{
    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.testactivity);

        findViewById(R.id.play).setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                Intent in =  new Intent();
                in.putExtra("programId","706feb4fdbd84fdba5d2648e7496331d");
                in.setClass(TestActivity.this,PlayerActivity.class);
                startActivity(in);
            }
        });
    }
}
